package com.jinghao.tws.entity;

import java.util.Date;

import com.jinghao.core.common.entity.JingHaoBaseEntity;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhTable;

/**
 * (WvPallet)模型对象
 * 
 * @version 1.0
 * @author: 244684437@qq.com
 */
@JhTable(
	jhfields={
	},
	note = ""
)
public class WvPallet extends JingHaoBaseEntity<WvPallet> {
	//======================字段列表========================
	/** 托盘标识UNID */
	private Integer	palletUnid;

	/** 托盘标识UUID */
	private String	palletUuid;

	/** 托盘编号 */
	private String	palletId;

	/** URL地址 */
	private String	urlLink;

	/** 是否生成链接（0:未生成;1:已生成;） */
	private Integer	urlStatus;

	/** 创建时间 */
	private Date	createTime;

	/** 流程编码 */
	private String	flowCode;

	/** 是否上传到云端（0:不上传;1：待上传;2：排队中 3:已上传） */
	private Integer	uploadStatus;

	/** 上传时间 */
	private Date	uploadTime;

	/** 视频是否上传到云端（0:不上传;1：待上传;2：排队中 3:已上传） */
	private Integer	fileUploadStatus;

	/** 上传时间 */
	private Date	fileUploadTime;

	public Integer getPalletUnid() {
		return this.palletUnid;
	}

	public void setPalletUnid(Integer palletUnid) {
		this.palletUnid = palletUnid;
	}

	public String getPalletUuid() {
		return this.palletUuid;
	}

	public void setPalletUuid(String palletUuid) {
		this.palletUuid = palletUuid;
	}

	public String getPalletId() {
		return this.palletId;
	}

	public void setPalletId(String palletId) {
		this.palletId = palletId;
	}

	public String getUrlLink() {
		return this.urlLink;
	}

	public void setUrlLink(String urlLink) {
		this.urlLink = urlLink;
	}

	public Integer getUrlStatus() {
		return this.urlStatus;
	}

	public void setUrlStatus(Integer urlStatus) {
		this.urlStatus = urlStatus;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getFlowCode() {
		return this.flowCode;
	}

	public void setFlowCode(String flowCode) {
		this.flowCode = flowCode;
	}

	public Integer getUploadStatus() {
		return this.uploadStatus;
	}

	public void setUploadStatus(Integer uploadStatus) {
		this.uploadStatus = uploadStatus;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public Integer getFileUploadStatus() {
		return this.fileUploadStatus;
	}

	public void setFileUploadStatus(Integer fileUploadStatus) {
		this.fileUploadStatus = fileUploadStatus;
	}

	public Date getFileUploadTime() {
		return this.fileUploadTime;
	}

	public void setFileUploadTime(Date fileUploadTime) {
		this.fileUploadTime = fileUploadTime;
	}

	public String toString() {
		StringBuffer buffer = new StringBuffer(super.toString());
		buffer.append("\n");
		buffer.append("\tpalletUnid(托盘标识UNID):").append(palletUnid);
		buffer.append("\tpalletUuid(托盘标识UUID):").append(palletUuid);
		buffer.append("\tpalletId(托盘编号):").append(palletId);
		buffer.append("\turlLink(URL地址):").append(urlLink);
		buffer.append("\n");
		buffer.append("\turlStatus(是否生成链接（0:未生成;1:已生成;）):").append(urlStatus);
		buffer.append("\tcreateTime(创建时间):").append(createTime);
		buffer.append("\tflowCode(流程编码):").append(flowCode);
		buffer.append("\tuploadStatus(是否上传到云端（0:不上传;1：待上传;2：排队中 3:已上传）):").append(uploadStatus);
		buffer.append("\n");
		buffer.append("\tuploadTime(上传时间):").append(uploadTime);
		buffer.append("\tfileUploadStatus(视频是否上传到云端（0:不上传;1：待上传;2：排队中 3:已上传）):").append(fileUploadStatus);
		buffer.append("\tfileUploadTime(上传时间):").append(fileUploadTime);
		return buffer.toString();
	}
	//==================定制内容开始======================
	   public enum EWvPallet {
	    	/**0:未生成**/
		   	urlStatus_0(0,"未生成"),
	    	/**1:已生成**/
		   	urlStatus_1(1,"已生成"),
		    /**0:不上传**/
		    uploadStatus_0(0,"不上传"),
		    /**1:待上传**/
		    uploadStatus_1(1,"待上传"),
		    /**2:排队中**/
		    uploadStatus_2(2,"排队中"),
		    /**3:已上传**/
		    uploadStatus_3(3,"已上传"),
		   
		    /**0:不上传**/
		    fileUploadStatus_0(0,"不上传"),
		    /**1:待上传**/
		    fileUploadStatus_1(1,"待上传"),
		    /**2:排队中**/
		    fileUploadStatus_2(2,"排队中"),
		    /**3:已上传**/
		    fileUploadStatus_3(3,"已上传");
		   
	    	private int key;
	    	private String msg;
	    	EWvPallet(int key,String msg) {
				this.key = key;
				this.msg=msg;
			}
	    	public int getKey(){
	    		return this.key;
	    	}
	    }
	//==================定制内容结束======================
}
